/*
 * Arbol.h
 *
 *  Created on: 28/07/2013
 *      Author: juan
 */

#ifndef ARBOL_H_
#define ARBOL_H_

#include "Figure.h"
#include "revSurf.h"
#include "Cilinder.h"
#include <cstdlib>
#include <ctime>

class Arbol: public Figure {
	public:
		Arbol(GLuint program);
		virtual ~Arbol();
		void draw(GLuint program, glm::mat4 & world_matrix);
		void set_texture_down(GLuint tex_tronco);
		void set_texture_up(GLuint tex_popa);
	private:
		Cilinder *tronco;
		revSurf *popa;
};

#endif /* ARBOL_H_ */
